package com.survey.dao.mapper;

import com.survey.pojo.data.AdminDO;
import com.survey.pojo.vo.AdminVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/** 
 * <br/>
 * Created by survey on 2018/08/03
 */
@Repository
public interface AdminMapper {

    Integer addAdmin(AdminVO adminVO);

    Integer updateAdmin(AdminVO adminVO);

    AdminDO findDetailAdmin(AdminVO adminVO);

    List<AdminDO> listAdmin(AdminVO adminVO);

    List<AdminDO> listAdminPage(AdminVO adminVO);

    Integer countAdmin(AdminVO adminVO);

    Integer deleteAdmin(AdminVO adminVO);

    List<AdminDO> adminListManager(AdminVO adminVO);
}
